package com.demo.beans;
public class Bean1 {
    public Bean1(){
        System.out.println("调用Bean1类的构造方法，创建bean1对象");
    }

    @Override
    public String toString() {
        return super.toString();
    }
}